<div id="contentLogin">
    	<div class="addPost">
            <div class="pointerBlock dashBordBlock">
              <div class="content">
              	<strong class="title">Редактирование аккаунта</strong>
              	<% form_for :user, @user, :url => user_path(@user), :html=>{:method=>:put} do |f| -%>
	              	<table cellspacing="0" cellpadding="0" border="0" class="regTable">
	                  <tbody><tr>
	                  	<td class="l"/>
	                    <td style="padding-bottom: 30px;"><strong>оранжевым шрифтом</strong> - помечены обязательные поля для заполнения</td>
	                  </tr>
	                  <tr>
	                    <td class="l"><strong><%= label_tag 'email', 'электронная почта:' %></strong></td>
	                    <td><div style="position: relative;"><%= f.text_field :email, :class=>"text" %></div></td>
	                  </tr>
	                  <tr>
	                    <td class="l"><strong><%= label_tag 'password', 'пароль:'%></strong></td>
	                    <td><div style="position: relative;"><%= f.password_field :password, :class=>"text" %></div></td>
	                  </tr>
	                  <tr>
	                    <td class="l"><strong><%= label_tag 'password_confirmation', 'дублировать пароль:'%></strong></td>
	                    <td><div style="position: relative;"><%= f.password_field :password_confirmation, :class=>"text" %></div></td>
	                  </tr>
	                  <tr>
	                    <td class="l">дата рождения:</td>
	                    <td><div style="position: relative;"><%= f.date_select :birthday, {:start_year => (DateTime.now.year - 75)}, {:style=>"width:65px;"}%></div></td>
	                  </tr>
	                  <tr>
	                    <td class="l"><strong>место нахождения</strong></td>
	                    <td><div style="position: relative;">
	                    	<%= f.select :country_id, Country.for_select, {:include_blank=>"страна"}, {:class=>"text", :style=>"margin-bottom: 5px;"}%>
	                    	</div></td>
	                  </tr>
	                  <tr>
	                    <td class="l">область/регион</td>
	                    <td><div style="position: relative;">
	                    	<%= f.text_field :region, :class=>"text"%>
	                    	</div></td>
	                  </tr>
	                  <tr>
	                    <td class="l">населённый пункт</td>
	                    <td><div style="position: relative;">
	                    	<%= f.text_field :city_name, :class=>"text"%>
	                    	</div></td>
	                  </tr>
	                  <tr>
	                    <td class="l">Ваш пол</td>
	                    <td><div style="position: relative;">
	                    	<%= f.select :gender, [["неуказан", :undefined], ["мужской", :men], ["женский", :women]]%>
	                    	</div></td>
	                  </tr>
	                   <tr>
	                    <td class="l">Имя:</td>
	                    <td><div style="position: relative;"><%= f.text_field :name, :class=>"text"%></td>
	                  </tr>
	                  
	                  <tr>
	                    <td class="l">ICQ:</td>
	                    <td><div style="position: relative;"><%= f.text_field :icq, :class=>"text"%></td>
	                  </tr>
	                  
	                  <tr>
	                    <td class="l">Сайт:</td>
	                    <td><div style="position: relative;"><%= f.text_field :url, :class=>"text"%></td>
	                  </tr>
	                  
	                  <tr>
	                    <td class="l">Статус:</td>
	                    <td><div style="position: relative;"><%= f.text_field :status, :class=>"text"%></td>
	                  </tr>
	                  
	                  <tr>
	                    <td class="l">Интересы (через кому):</td>
	                    <td><div style="position: relative;">
	                    	<%= f.text_area :tag_list, :class=>"text", :rows=>10%></td>
	                  </tr>
	                  
	                   <tr>
	                    <td class="l">О себе:</td>
	                    <td><div style="position: relative;">
	                    	<%= f.text_area :description, :class=>"text", :rows=>10, :cols=>80%></td>
	                  </tr>
	                  
	                  <tr>
	                    <td style="padding-left: 135px;" colspan="2"><div class="submit">
	                    	<%= submit_tag 'Сохранить' %></div></td>
	                  </tr>
	                </tbody></table>
	            <% end -%>
              </div>
          </div>
        </div>
    </div>
